<?php
class admin_View_Helper_Fck {
	public function Fck($id, $content = "", $width = '100%', $height = '500', $ToolbarSet = "Default") {
		include_once ("./FCKeditor/fckeditor.php");
		$sBasePath = "/FCKeditor/";
		$oFCKeditor = new FCKeditor ( $id );
		$oFCKeditor->ToolbarSet = $ToolbarSet;
		$oFCKeditor->Config ['SkinPath'] = $sBasePath . 'editor/skins/' . 'silver' . '/';
		$oFCKeditor->BasePath = $sBasePath;
		$oFCKeditor->Width = $width;
		$oFCKeditor->Height = $height;
		$oFCKeditor->Value = $content;
		return $oFCKeditor->CreateHtml ();
	}
}
?>
